package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.AnswerShare;
import com.ajk.server.model.query.AnswerShareQuery;

/**
 * 测试分享  <br>
 * t_answer_share <br>
 * v1.0 2016-05-01
 */
 public interface AnswerShareService {
	
	/**
 	*根据ID删除 测试分享
 	*/
 	public Integer deleteAnswerShareById(Integer id);
 	
 	/**
 	*新增 测试分享
 	*/
 	public Integer batchInsertAnswerShare(List<? extends AnswerShare> answerShares);
 	
 	/**
 	*新增 测试分享
 	*/
 	public Integer insertAnswerShare(AnswerShare domain);
 
 	
 	/**
 	*更新 测试分享
 	*/
 	public Integer updateAnswerShare(AnswerShare domain);
 	
 	/**
 	*根据ID查询 测试分享
 	*/
 	public AnswerShare findAnswerShareById(Integer id);

	/**
 	*通过query 查询 测试分享
 	*/
	public List<AnswerShare> findAnswerShareByQuery(AnswerShareQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countAnswerShareByQuery(AnswerShareQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<AnswerShare> findAnswerShareByIds(List<Integer> ids);
 	
}	